#ifndef _FILE_SYSTEM_H_
#define _FILE_SYSTEM_H_



/* MACROS FILE SYSTEM */
#define SIZE_MAX_POOL	10
#define SIZE_MAX_EVENTS 5
#define FUSE_USE_VERSION  26
/* MACROS FILE SYSTEM */

#include <fuse.h> /*contains definitions for basic functions needed to implement a filesystem*/


/* FUNCIONES */
int iniciarFuse(int argc, char *argv[]);
int iniciarConsola();
/* FUNCIONES */

/*FUNCIONES REDEFINIDAS*/
static int fuselage_getattr(const char *path, struct stat *stbuf);
static int fuselage_read(const char *path, char *buf, size_t size, off_t offset, struct fuse_file_info *fi);
static int fuselage_open(const char *path, struct fuse_file_info *fi);
static int fuselage_readdir(const char *path, void *buf, fuse_fill_dir_t filler, off_t offset, struct fuse_file_info *fi);

static struct fuse_operations fuselage_oper =
{
    .getattr = fuselage_getattr,
    .readdir = fuselage_readdir,
    .open    = fuselage_open,
    .read    = fuselage_read,
};
/*FUNCIONES REDEFINIDAS*/
	
#endif /* _FILE_SYSTEM_H_ */
